package com.shuyu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@ApiModel(description = "审批流程设置")
@TableName("tbl_approval_process")
public class ApprovalProcess implements Serializable {
    private static final long serialVersionUID = -8118935416355326813L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty(value = "审批流程名称")
    private String name;
    @ApiModelProperty(value = "审批类型 1产品；2活动")
    private Integer type;

    private transient List<ApprovalProcessNode> approvalProcessNodeList;

    private Date createTime;
    private Date modifyTime;
}
